/**
 * 
 */
package com.zq.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 *说明:
 *@version v1.0
 * @author zhangqian(mailto:739428054@qq.com)
 *	创建于:2020年4月27日上午8:41:53
 */
public class Tps {
	private Integer id;
	private String name;
	private Integer age;
	private double salary;
	private Date engageDate;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	
	public void setSalary(double salary) {
		this.salary = salary;
	}
	
	public Date getEngageDate() {
		return engageDate;
	}
	public void setEngageDate(Date engageDate) {
		this.engageDate = engageDate;
	}
	
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Tps other = (Tps) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "Tps [id=" + id + ", name=" + name + ", age=" + age + ", salary=" + salary + ", engageDate=" + engageDate
				+ "]";
	}
	
	

}
